#pragma once
#include <string>

class ChatRoom;

class User
{
public:
    User(const std::string& name, ChatRoom* pRoom);
    void send(const std::string& message);
    void receive(const std::string& message, User* pSender);
    std::string getName() const;
private:
    std::string _strName;
    ChatRoom* _pRoom;
};